home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp95
/
gnuchess.arc
/
README
< prev
Wrap
Text File
|
1992-01-16
|
3KB
|
97 lines
GNU CHESS FOR THE HP95 Version 1.02
===================================
To get the GNU CHESS to run on your machine, simply copy the
gnuchess.exe and gnuchess.boo files to a directory somewhere on
your machine.
To run, simply type:
gnuchess 5
to set time limit of 5 seconds per move, or
gnuchess
to be prompted for a game level.
I recommend at least 30 seconds per move and you might want to
type 'post' to toggle the info display for faster thinking time.
Files:
gnuchess.c
gnuchess.h Files copied and tweaked from the GNUCHESS 3.1
distribution.
piece.c All the code necessary to handle the user interface
hp95.h
hp95.c C library for doing graphics on the HP95.
Based on information previously published on the net.
Not a complete library but containing the two
routines needed for GNUCHESS. Probably get
extended if I do more graphics on the HP.
cvt.c A program to create the bitmap files.
E.g., cvt < pieces.txt > pieces.bm
pieces.txt File which can be edited to change the bitmaps
for the chess pieces.
pieces.bm Compiled file created by cvt.
ascii3x5 Raw input file for cvt containing a 3x5 font
for ASCII characters '!'..'Z'.
ascii3x5.bm Compiler file create by cvt.
Lastly, can I thank whole-heartedly HP & the GNU groups for donating
code and hardware to the world at large which allows us hackers to survive
without fear of ever getting bored.
I used MS C 6 to compile this lot using the large model. I could have
used compact model but I dont usually keep that on my machine so the code
could execute a little faster. Also by making certain structures a power
of two in size, the code may execute faster still -- I looked at the assembler
and the compiler does its best to access all those array indices but power of
2 sized structures leads to better code.
I would be interested if people would mail or post any feedback on the
quality of the game based on their own experience in chess and other GNU
implementations. Things like you need to give GNU at least 2 minutes
thinking time before it can beat you or before its comparable to
a faster machine. I've only tried the 30 second level and it beat me,
but then I'm not that good!
Bugs
====
The 'p' command and any other command which calls the ShowPostnValue()
function will crash your machine. I've not found out why just yet -- but
you have been warned!!
If you 'undo' or 'remove' a go, the GNU/HUMAN messages get garbled. Simply
redraw the screen if this annoys you.
I would like to use the cursor keys for movement but havent got that
far yet.
Thats all folks!
Paul Fox
History
=======
1.02 Since the first screwed up release I noticed a small bug in the glyphs
for the chess pieces -- they were one bit too wide. I've corrected
that in this release but otherwise the code is pretty much the
same.
Also when selecting a level number there was an out by 2 bug.
My personal soapbox:
====================
Since you've read this so far, then all I can say is:
P.S. Now if HP could just get rid of 1-2-3 from the HP95 and put
the HP48SX software into it instead, that would be truly awe inspiring. I
personally never use the 1-2-3 garbage.